package com.runen.infinitemovement.widget.easybarrage;

import android.graphics.Color;

import com.runen.infinitemovement.R;

public class Barrage {

    private String content;
    private int color;
    private boolean showBorder;
    private int backGroundColor;
    private String imageHeadUrl;

    public Barrage(String content, String imageHeadUrl) {
        this(content, R.color.color_333333, false, Color.WHITE, imageHeadUrl);
    }

    public Barrage(String content, int color, String imageHeadUrl) {
        this(content, color, false, Color.WHITE, imageHeadUrl);
    }

    public Barrage(String content, boolean showBorder, String imageHeadUrl) {
        this(content, R.color.color_333333, showBorder, Color.WHITE, imageHeadUrl);
    }

    public Barrage(String content, int color, int backGroundColor, String imageHeadUrl) {
        this(content, color, false, backGroundColor, imageHeadUrl);
    }

    private Barrage(String content, int color, boolean showBorder, int backGroundColor, String imageHeadUrl) {
        this.content = content;
        this.color = color;
        this.showBorder = showBorder;
        this.backGroundColor = backGroundColor;
        this.imageHeadUrl = imageHeadUrl;
    }

    public boolean isShowBorder() {
        return showBorder;
    }

    public void setShowBorder(boolean showBorder) {
        this.showBorder = showBorder;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public int getBackGroundColor() {
        return backGroundColor;
    }

    public void setBackGroundColor(int backGroundColor) {
        this.backGroundColor = backGroundColor;
    }

    public String getImageHeadUrl() {
        return imageHeadUrl;
    }
}
